package com.jz.community.moduleshopping.timeLimit.bean;

import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;

import java.util.List;

public class LimitTimeBean {
    /**
     * currentTime : 2018-06-20 16:16:52
     * _embedded : {"limitTimeViews":[{"id":1,"limitedTimeStr":"18日08:00","limitedStartTime":"2018-06-18 08:00:00","limitedStopTime":"2018-06-29 17:00:00","status":"2","selected":true,"links":{"self":{"href":"http://10.41.1.72:8012/gds/limittimeview/1"}}}]}
     * _links : {"self":{"href":"http://10.41.1.72:8012/gds/limit-times?cityId=99999&page=0&size=10"}}
     * page : {"size":10,"totalElements":1,"totalPages":1,"number":0}
     * links : {"self":{"href":"http://10.41.1.72:8012/gds/goodslimittimeview/0"}}
     */
    private String currentTime;
    private EmbeddedBean _embedded;
    private PageInfo page;

    public String getCurrentTime() {
        return currentTime;
    }

    public void setCurrentTime(String currentTime) {
        this.currentTime = currentTime;
    }

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<LimitTimeViewsBean> limitTimeViews;

        public List<LimitTimeViewsBean> getLimitTimeViews() {
            return limitTimeViews;
        }

        public void setLimitTimeViews(List<LimitTimeViewsBean> limitTimeViews) {
            this.limitTimeViews = limitTimeViews;
        }

        public static class LimitTimeViewsBean {
            /**
             * id : 1
             * limitedTimeStr : 18日08:00
             * limitedStartTime : 2018-06-18 08:00:00
             * limitedStopTime : 2018-06-29 17:00:00
             * status : 2
             * selected : true
             * links : {"self":{"href":"http://10.41.1.72:8012/gds/limittimeview/1"}}
             */

            private String id;
            private String limitedTimeStr;
            private String limitedStartTime;
            private String limitedStopTime;
            private String status;
            private boolean selected;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLimitedTimeStr() {
                return limitedTimeStr;
            }

            public void setLimitedTimeStr(String limitedTimeStr) {
                this.limitedTimeStr = limitedTimeStr;
            }

            public String getLimitedStartTime() {
                return limitedStartTime;
            }

            public void setLimitedStartTime(String limitedStartTime) {
                this.limitedStartTime = limitedStartTime;
            }

            public String getLimitedStopTime() {
                return limitedStopTime;
            }

            public void setLimitedStopTime(String limitedStopTime) {
                this.limitedStopTime = limitedStopTime;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public boolean isSelected() {
                return selected;
            }

            public void setSelected(boolean selected) {
                this.selected = selected;
            }
        }
    }
}
